//
//  DatePickerViewController.h
//  FMS
//
//  Created by Steven on 10/12/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DatePickerViewDelegate;

@interface DatePickerViewController : UIViewController{
    
}
@property (unsafe_unretained) IBOutlet UIDatePicker *datePicker;
@property (weak, nonatomic) IBOutlet UILabel *lblTitleView;
@property (nonatomic,assign) id<DatePickerViewDelegate> delegate;
@property (unsafe_unretained) id paramSender;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil dateSelect:(NSDate *)date;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil dateSelect:(NSDate *)date paramSender:(id)sender;

- (IBAction)btnCancelClick:(id)sender;
- (IBAction)btnSaveClick:(id)sender;
@end

@protocol DatePickerViewDelegate <NSObject>
- (void)didSelectDatePicker:(NSDate *)date;
- (void)didSelectDatePicker:(NSDate *)date paramSender:(id)sender;
- (void)didCancelSectDatePicker;
@end